import { App } from 'vue';
import DdTable from './Table/index.vue';
import Pagination from './Pagination.vue';
import SmsvcodeForm from './SmsvcodeForm.vue';
import SendSmsvcodeButton from './SendSmsvcodeButton.vue';
// export const components = {
//   install(app:App) {
//     app.component('DdTable', DdTable);
//   },
// };
export default {
  /**
   * 添加组件
   * @param app
   */
  install(app: App) {
    app.component('DdTable', DdTable);
    app.component('Pagination', Pagination);
    app.component('SmsvcodeForm', SmsvcodeForm);
    app.component('SendSmsvcodeButton', SendSmsvcodeButton);
  },
};
